import url from './url'
const AppConsts = {
    userManagement: {
        defaultAdminUserName: 'admin'
    },
    localization: {
        defaultLocalizationSourceName: 'WebApp'
    },
    authorization: {
        encrptedAuthTokenName: 'enc_auth_token'
    },
    appBaseUrl: "http://localhost:8080",
    remoteServiceBaseUrl: url.endsWith('/') ? url.slice(0, -1) : url,
    urlFile: process.env.NODE_ENV === 'production' ? 'https://yourdomain/' : 'http://localhost:21021/api/services/app/FileCommon/UploadFile' //文件上传
}
export default AppConsts